package com.star.common.oss.contract.enums;

import com.star.common.core.contract.enums.IEnum;
import com.star.common.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * OSS类型枚举
 *
 * @author zhouhengzhe
 */
@Getter
@AllArgsConstructor
public enum OssTypeEnum implements IEnum<String>, EnumValueResolver<OssTypeEnum, String> {

    ALI_YUN("aliyun", "阿里云"),
    HUA_WEI_CLOUD("huaweicloud", "华为云"),
    AWS("aws", "亚马逊"),
    MINIO("minio", "minio"),
    QI_NIU("qiniu", "七牛"),
    TENCENT("tencent", "腾讯云"),
    LOCAL("local", "本地"),
    FAST_DFS("fastdfs", "fastdfs"),
    ;

    private final String code;

    private final String desc;
}
